<template>
	<view class="pageBox">
		<view class="topBGBox">
			<image src="@/static/common/talentApartment_topBG1.png" class="topBG" mode="scaleToFill"></image>
			<view class="topBGColor"></view>
		</view>
		<view class="contentBoxF">
			<view class="btnList">
				<view class="btn">政策介绍</view>
				<view class="btn1" @click="goto('common/talentApartment/talentApartment')">公寓列表</view>
			</view>
			<view class="contentBox">
				<view class="rowBlock">
					<text class="title">
						一、政策简介
						<text class="titleX"></text>
					</text>
					<view class="text">为来xx区求职的应届大学毕业生或来上城区治谈项目落地的创业人才提供最长不超过7天的免费入住服务。</view>
				</view>
				<view class="rowBlock">
					<text class="title">
						二、申请对象
						<text class="titleX"></text>
					</text>
					<view class="text">为来xx区求职的应届大学毕业生或来上城区治谈项目落地的创业人才提供最长不超过7天的免费入住服务。</view>
				</view>
				<view class="rowBlock">
					<text class="title">
						三、资格条件
						<text class="titleX"></text>
					</text>
					<view class="text">为来xx区求职的应届大学毕业生或来上城区治谈项目落地的创业人才提供最长不超过7天的免费入住服务。</view>
				</view>
			</view>
		</view>
		<!-- <view class="btnBox">
			<view class="submitBtn">去申请</view>
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: {
					pageSize: 1,
					pageNum: 10,
					rows: []
				},
				bgColor: ['#D0E7FE', '#B1F7ED', '#FDE2C5', '#FDF4C5'],
				btnBGs: ['linear-gradient( 90deg, #5F96E8 0%, #1977E1 100%)',
					'linear-gradient( 90deg, #03D8AF 0%, #00A57D 100%)',
					'linear-gradient( 90deg, #F2B018 0%, #F57E01 100%)',
					'linear-gradient( 90deg, #F2B018 0%, #F57E01 100%)'
				]
			}
		},
		onLoad() {},
		methods: {

			goto(url, data) {
				this.$navTo(`pages/${url}`, data)
			},
		}
	}
</script>

<style lang="scss" scoped>
	page,
	body {
		background: linear-gradient(180deg, #FFFFFF 0%, #96D07C 100%);
	}

	.pageBox {
		// padding-bottom: 160rpx;
		padding-bottom: 30rpx;

		.topBGBox {
			width: 100%;
			position: absolute;
			z-index: 1;

			.topBG {
				width: 100%;
				height: 602rpx;
				object-fit: cover;
			}

			.topBGColor {
				width: 100%;
				height: 100%;
			}
		}

		.contentBoxF {
			padding: 0 30rpx;
			position: relative;
			z-index: 2;
			padding-top: 400rpx;

			.btnList {
				display: flex;
				align-items: center;
				justify-content: center;
				margin-bottom: 36rpx;

				.btn {
					display: flex;
					align-items: center;
					justify-content: center;
					width: 272rpx;
					height: 80rpx;
					background: #0CBC8E;
					box-shadow: 0rpx 8rpx 8rpx 0rpx rgba(11, 187, 141, 0.5);
					border-radius: 16rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 600;
					font-size: 32rpx;
					color: #FFFFFF;
					margin-right: 40rpx;
				}

				.btn1 {
					display: flex;
					align-items: center;
					justify-content: center;
					width: 272rpx;
					height: 80rpx;
					background: #FFFFFF;
					box-shadow: 0rpx 8rpx 8rpx 0rpx rgba(11, 187, 141, 0.5);
					border-radius: 16rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 600;
					font-size: 32rpx;
					color: #0CBC8E;
				}
			}
		}

		.contentBox {
			background-color: #fff;
			border-radius: 16rpx 16rpx 16rpx 16rpx;
			border: 2rpx solid #17D57A;
			padding: 0 40rpx;
			padding-top: 60rpx;
			padding-bottom: 30rpx;

			.rowBlock {
				text-align: center;
				margin-bottom: 60rpx;
			}

			.title {
				font-family: PingFang SC, PingFang SC;
				font-weight: 600;
				font-size: 32rpx;
				color: #000000;
				position: relative;
			}

			.titleX {
				width: 100%;
				height: 4rpx;
				position: absolute;
				bottom: 0%;
				left: 0;
				background: #0CBC8E;
			}

			.text {
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				font-size: 28rpx;
				color: #000000;
				margin-top: 40rpx;
				text-align: left;
			}
		}

		.btnBox {
			box-sizing: border-box;
			padding: 0 30rpx;
			height: 124rpx;
			background: #FFFFFF;
			border-radius: 0rpx 0rpx 0rpx 0rpx;
			position: fixed;
			width: 100%;
			z-index: 2;
			bottom: 0;
			left: 0;
			display: flex;
			align-items: center;
			justify-content: center;

			.submitBtn {
				width: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 28rpx;
				color: #FFFFFF;
				height: 76rpx;
				background: linear-gradient(90deg, #5F96E8 0%, #1977E1 100%);
				border-radius: 40rpx 40rpx 40rpx 40rpx;
			}
		}
	}
</style>